<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AUnit: /home/brian/src/AUnit/src/aunit/TestMacros.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AUnit
   &#160;<span id="projectnumber">1.7.1</span>
   </div>
   <div id="projectbrief">Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_81cd3825682eb05918933587e078c005.html">aunit</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">TestMacros.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Various macros (<a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test()</a>, <a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c" title="Create a test that is derived from a custom TestOnce class.">testF()</a>, <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing()</a>, <a class="el" href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c" title="Create a test that is derived from a custom TestAgain class.">testingF()</a>, <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest()</a>, <a class="el" href="TestMacros_8h.html#a411a4acc9c28fd3d2e9e83b63b91e145" title="Create an extern reference to a testF() test case object defined elsewhere.">externTestF()</a>, <a class="el" href="TestMacros_8h.html#a6f5d7f585ea78b8e7bee81bc655de07e" title="Create an extern reference to a testing() test case object defined elsewhere.">externTesting()</a>, <a class="el" href="TestMacros_8h.html#a00e313531a1972e4ad46c4681b52512a" title="Create an extern reference to a testingF() test case object defined elsewhere.">externTestingF()</a>) are defined in this header.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;Arduino.h&gt;</code><br />
<code>#include &quot;<a class="el" href="Flash_8h_source.html">Flash.h</a>&quot;</code><br />
<code>#include &quot;FCString.h&quot;</code><br />
<code>#include &quot;TestOnce.h&quot;</code><br />
<code>#include &quot;TestAgain.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for TestMacros.h:</div>
<div class="dyncontent">
<div class="center"><img src="TestMacros_8h__incl.png" border="0" usemap="#a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8h" alt=""/></div>
<map name="a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8h" id="a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8h">
<area shape="rect" title="Various macros (test(), testF(), testing(), testingF(), externTest(), externTestF(),..." alt="" coords="339,5,509,47"/>
<area shape="rect" title=" " alt="" coords="71,468,142,495"/>
<area shape="rect" title=" " alt="" coords="567,95,651,121"/>
<area shape="rect" href="Flash_8h.html" title="Various macros to smooth over the differences among the various platforms with regards to their suppo..." alt="" coords="516,319,585,345"/>
<area shape="rect" href="FCString_8h_source.html" title=" " alt="" coords="343,393,433,420"/>
<area shape="rect" href="TestOnce_8h_source.html" title=" " alt="" coords="301,95,395,121"/>
<area shape="rect" href="TestAgain_8h_source.html" title=" " alt="" coords="143,95,241,121"/>
<area shape="rect" title=" " alt="" coords="487,393,614,420"/>
<area shape="rect" title=" " alt="" coords="351,468,425,495"/>
<area shape="rect" href="MetaAssertion_8h_source.html" title=" " alt="" coords="239,169,367,196"/>
<area shape="rect" href="Printer_8h_source.html" title=" " alt="" coords="195,244,271,271"/>
<area shape="rect" href="Assertion_8h_source.html" title=" " alt="" coords="295,244,390,271"/>
<area shape="rect" href="Test_8h_source.html" title=" " alt="" coords="161,319,221,345"/>
<area shape="rect" href="Verbosity_8h_source.html" title=" " alt="" coords="144,393,237,420"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="TestMacros_8h__dep__incl.png" border="0" usemap="#a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8hdep" alt=""/></div>
<map name="a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8hdep" id="a_2home_2brian_2src_2AUnit_2src_2aunit_2TestMacros_8hdep">
<area shape="rect" title="Various macros (test(), testF(), testing(), testingF(), externTest(), externTestF(),..." alt="" coords="95,5,265,47"/>
<area shape="rect" href="AUnit_8h.html" title="Same as AUnitVerbose.h except that the terse versions of the various assertXxx() macros are provided." alt="" coords="5,95,168,136"/>
<area shape="rect" href="AUnitVerbose_8h.html" title="Same as AUnit.h except that the verbose versions of the various assertXxx() macros are provided." alt="" coords="192,95,355,136"/>
</map>
</div>
</div>
<p><a href="TestMacros_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a152fb8fe682506b1b08ddda59abce668"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668">test</a>(...)&#160;&#160;&#160;    GET_TEST(__VA_ARGS__, TEST2, TEST1)(__VA_ARGS__)</td></tr>
<tr class="memdesc:a152fb8fe682506b1b08ddda59abce668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Macro to define a test that will be run only once.  <a href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668">More...</a><br /></td></tr>
<tr class="separator:a152fb8fe682506b1b08ddda59abce668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bdd139007497e25114e1755c6414eaa"><td class="memItemLeft" align="right" valign="top"><a id="a9bdd139007497e25114e1755c6414eaa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GET_TEST</b>(_1,  _2,  NAME, ...)&#160;&#160;&#160;NAME</td></tr>
<tr class="separator:a9bdd139007497e25114e1755c6414eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab58e8c02312b2bf4b9422ea4b9e40697"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>TEST1</b>(name)</td></tr>
<tr class="separator:ab58e8c02312b2bf4b9422ea4b9e40697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bb86dbcf5960cb0603821c9b1df5559"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>TEST2</b>(suiteName,  name)</td></tr>
<tr class="separator:a9bb86dbcf5960cb0603821c9b1df5559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7b0603fa6951be1f019586eafc6e6b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b">testing</a>(...)&#160;&#160;&#160;    GET_TESTING(__VA_ARGS__, TESTING2, TESTING1)(__VA_ARGS__)</td></tr>
<tr class="memdesc:a1f7b0603fa6951be1f019586eafc6e6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Macro to define a test that will run repeatly upon each iteration of the global loop() method, stopping when the something calls Test::pass(), Test::fail() or Test::skip().  <a href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b">More...</a><br /></td></tr>
<tr class="separator:a1f7b0603fa6951be1f019586eafc6e6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5427dd371de950cb3d3598fdc4fc7b36"><td class="memItemLeft" align="right" valign="top"><a id="a5427dd371de950cb3d3598fdc4fc7b36"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GET_TESTING</b>(_1,  _2,  NAME, ...)&#160;&#160;&#160;NAME</td></tr>
<tr class="separator:a5427dd371de950cb3d3598fdc4fc7b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad936de53e2448868a84165a50099b6f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>TESTING1</b>(name)</td></tr>
<tr class="separator:ad936de53e2448868a84165a50099b6f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a871ed4b51379e87cd14b922d655da4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>TESTING2</b>(suiteName,  name)</td></tr>
<tr class="separator:a4a871ed4b51379e87cd14b922d655da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144a141e11afa7d1071965e962dbfb42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42">externTest</a>(...)&#160;&#160;&#160;    GET_EXTERN_TEST(__VA_ARGS__, EXTERN_TEST2, EXTERN_TEST1)(__VA_ARGS__)</td></tr>
<tr class="memdesc:a144a141e11afa7d1071965e962dbfb42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an extern reference to a <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test()</a> test case object defined elsewhere.  <a href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42">More...</a><br /></td></tr>
<tr class="separator:a144a141e11afa7d1071965e962dbfb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c762b4803b5706980cb102e6b37b5d1"><td class="memItemLeft" align="right" valign="top"><a id="a5c762b4803b5706980cb102e6b37b5d1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GET_EXTERN_TEST</b>(_1,  _2,  NAME, ...)&#160;&#160;&#160;NAME</td></tr>
<tr class="separator:a5c762b4803b5706980cb102e6b37b5d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85bc81ca15fb7b517980169da8a8e2b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN_TEST1</b>(name)</td></tr>
<tr class="separator:a85bc81ca15fb7b517980169da8a8e2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e0de5cb9eb6fdc69c5abf28c24eca15"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN_TEST2</b>(suiteName,  name)</td></tr>
<tr class="separator:a3e0de5cb9eb6fdc69c5abf28c24eca15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f5d7f585ea78b8e7bee81bc655de07e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a6f5d7f585ea78b8e7bee81bc655de07e">externTesting</a>(...)&#160;&#160;&#160;    GET_EXTERN_TESTING(__VA_ARGS__, EXTERN_TESTING2, EXTERN_TESTING1)(__VA_ARGS__)</td></tr>
<tr class="memdesc:a6f5d7f585ea78b8e7bee81bc655de07e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an extern reference to a <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing()</a> test case object defined elsewhere.  <a href="TestMacros_8h.html#a6f5d7f585ea78b8e7bee81bc655de07e">More...</a><br /></td></tr>
<tr class="separator:a6f5d7f585ea78b8e7bee81bc655de07e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd83bd4a050375840cca1ad6537cf8a7"><td class="memItemLeft" align="right" valign="top"><a id="abd83bd4a050375840cca1ad6537cf8a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GET_EXTERN_TESTING</b>(_1,  _2,  NAME, ...)&#160;&#160;&#160;NAME</td></tr>
<tr class="separator:abd83bd4a050375840cca1ad6537cf8a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24590d579670c63352e00a3efd774ebd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN_TESTING1</b>(name)</td></tr>
<tr class="separator:a24590d579670c63352e00a3efd774ebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a645522933549983fad45502ac78d0454"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN_TESTING2</b>(suiteName,  name)</td></tr>
<tr class="separator:a645522933549983fad45502ac78d0454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f2798c22904efe9442ce65eb6932a9c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c">testF</a>(testClass,  name)</td></tr>
<tr class="memdesc:a4f2798c22904efe9442ce65eb6932a9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a test that is derived from a custom TestOnce class.  <a href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c">More...</a><br /></td></tr>
<tr class="separator:a4f2798c22904efe9442ce65eb6932a9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a648c8cb704b9d942b36d8c4646645c2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c">testingF</a>(testClass,  name)</td></tr>
<tr class="memdesc:a648c8cb704b9d942b36d8c4646645c2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a test that is derived from a custom TestAgain class.  <a href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c">More...</a><br /></td></tr>
<tr class="separator:a648c8cb704b9d942b36d8c4646645c2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a411a4acc9c28fd3d2e9e83b63b91e145"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a411a4acc9c28fd3d2e9e83b63b91e145">externTestF</a>(testClass,  name)</td></tr>
<tr class="memdesc:a411a4acc9c28fd3d2e9e83b63b91e145"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an extern reference to a <a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c" title="Create a test that is derived from a custom TestOnce class.">testF()</a> test case object defined elsewhere.  <a href="TestMacros_8h.html#a411a4acc9c28fd3d2e9e83b63b91e145">More...</a><br /></td></tr>
<tr class="separator:a411a4acc9c28fd3d2e9e83b63b91e145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e313531a1972e4ad46c4681b52512a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="TestMacros_8h.html#a00e313531a1972e4ad46c4681b52512a">externTestingF</a>(testClass,  name)</td></tr>
<tr class="memdesc:a00e313531a1972e4ad46c4681b52512a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an extern reference to a <a class="el" href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c" title="Create a test that is derived from a custom TestAgain class.">testingF()</a> test case object defined elsewhere.  <a href="TestMacros_8h.html#a00e313531a1972e4ad46c4681b52512a">More...</a><br /></td></tr>
<tr class="separator:a00e313531a1972e4ad46c4681b52512a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Various macros (<a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test()</a>, <a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c" title="Create a test that is derived from a custom TestOnce class.">testF()</a>, <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing()</a>, <a class="el" href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c" title="Create a test that is derived from a custom TestAgain class.">testingF()</a>, <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest()</a>, <a class="el" href="TestMacros_8h.html#a411a4acc9c28fd3d2e9e83b63b91e145" title="Create an extern reference to a testF() test case object defined elsewhere.">externTestF()</a>, <a class="el" href="TestMacros_8h.html#a6f5d7f585ea78b8e7bee81bc655de07e" title="Create an extern reference to a testing() test case object defined elsewhere.">externTesting()</a>, <a class="el" href="TestMacros_8h.html#a00e313531a1972e4ad46c4681b52512a" title="Create an extern reference to a testingF() test case object defined elsewhere.">externTestingF()</a>) are defined in this header. </p>

<p class="definition">Definition in file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a85bc81ca15fb7b517980169da8a8e2b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85bc81ca15fb7b517980169da8a8e2b8">&#9670;&nbsp;</a></span>EXTERN_TEST1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTERN_TEST1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>test_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestOnce.html">aunit::TestOnce</a> {\</div>
<div class="line">public:\</div>
<div class="line">  test_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestOnce.html#a064675c6adcce5ddb8562628e573ccc1">once</a>();\</div>
<div class="line">};\</div>
<div class="line">extern test_##name test_##name##_instance</div>
<div class="ttc" id="aclassaunit_1_1TestOnce_html"><div class="ttname"><a href="classaunit_1_1TestOnce.html">aunit::TestOnce</a></div><div class="ttdoc">Similar to TestAgain but performs user-defined test only once.</div><div class="ttdef"><b>Definition:</b> <a href="TestOnce_8h_source.html#l00040">TestOnce.h:40</a></div></div>
<div class="ttc" id="aclassaunit_1_1TestOnce_html_a064675c6adcce5ddb8562628e573ccc1"><div class="ttname"><a href="classaunit_1_1TestOnce.html#a064675c6adcce5ddb8562628e573ccc1">aunit::TestOnce::once</a></div><div class="ttdeci">virtual void once()=0</div><div class="ttdoc">User-provided test case.</div></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00130">130</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a3e0de5cb9eb6fdc69c5abf28c24eca15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e0de5cb9eb6fdc69c5abf28c24eca15">&#9670;&nbsp;</a></span>EXTERN_TEST2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTERN_TEST2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suiteName, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>suiteName##_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestOnce.html">aunit::TestOnce</a> {\</div>
<div class="line">public:\</div>
<div class="line">  suiteName##_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestOnce.html#a064675c6adcce5ddb8562628e573ccc1">once</a>();\</div>
<div class="line">};\</div>
<div class="line">extern suiteName##_##name suiteName##_##name##_instance</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00138">138</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a24590d579670c63352e00a3efd774ebd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24590d579670c63352e00a3efd774ebd">&#9670;&nbsp;</a></span>EXTERN_TESTING1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTERN_TESTING1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>test_ ## name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestAgain.html">aunit::TestAgain</a> {\</div>
<div class="line">public:\</div>
<div class="line">  test_ ## name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestAgain.html#abb140ff8224ec77ace6bd379c5ef13a8">again</a>();\</div>
<div class="line">};\</div>
<div class="line">extern test_##name test_##name##_instance</div>
<div class="ttc" id="aclassaunit_1_1TestAgain_html"><div class="ttname"><a href="classaunit_1_1TestAgain.html">aunit::TestAgain</a></div><div class="ttdoc">Similar to TestOnce but performs the user-defined test multiple times.</div><div class="ttdef"><b>Definition:</b> <a href="TestAgain_8h_source.html#l00037">TestAgain.h:37</a></div></div>
<div class="ttc" id="aclassaunit_1_1TestAgain_html_abb140ff8224ec77ace6bd379c5ef13a8"><div class="ttname"><a href="classaunit_1_1TestAgain.html#abb140ff8224ec77ace6bd379c5ef13a8">aunit::TestAgain::again</a></div><div class="ttdeci">virtual void again()=0</div><div class="ttdoc">User-provided test case.</div></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00160">160</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a645522933549983fad45502ac78d0454"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a645522933549983fad45502ac78d0454">&#9670;&nbsp;</a></span>EXTERN_TESTING2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTERN_TESTING2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suiteName, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>suiteName##_ ## name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestAgain.html">aunit::TestAgain</a> {\</div>
<div class="line">public:\</div>
<div class="line">  suiteName##_ ## name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestAgain.html#abb140ff8224ec77ace6bd379c5ef13a8">again</a>();\</div>
<div class="line">};\</div>
<div class="line">extern suiteName##_##name suiteName##_##name##_instance</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00168">168</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a144a141e11afa7d1071965e962dbfb42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144a141e11afa7d1071965e962dbfb42">&#9670;&nbsp;</a></span>externTest</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define externTest</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em></td><td>)</td>
          <td>&#160;&#160;&#160;    GET_EXTERN_TEST(__VA_ARGS__, EXTERN_TEST2, EXTERN_TEST1)(__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an extern reference to a <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test()</a> test case object defined elsewhere. </p>
<p>This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it).</p>
<p>Two versions are supported: <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest(name)</a> and <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest(suiteName, name)</a>. The 2-argument <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest(suiteName, name)</a> is a convenience macro which is identical to <a class="el" href="TestMacros_8h.html#a144a141e11afa7d1071965e962dbfb42" title="Create an extern reference to a test() test case object defined elsewhere.">externTest(suiteName_name)</a>. </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00125">125</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a411a4acc9c28fd3d2e9e83b63b91e145"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a411a4acc9c28fd3d2e9e83b63b91e145">&#9670;&nbsp;</a></span>externTestF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define externTestF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">testClass, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>testClass ## _ ## name : <span class="keyword">public</span> testClass {\</div>
<div class="line">public:\</div>
<div class="line">  testClass ## _ ## name();\</div>
<div class="line">  void once() <span class="keyword">override</span>;\</div>
<div class="line">};\</div>
<div class="line">extern testClass ## _ ## name testClass##_##name##_instance</div>
</div><!-- fragment -->
<p>Create an extern reference to a <a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c" title="Create a test that is derived from a custom TestOnce class.">testF()</a> test case object defined elsewhere. </p>
<p>This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it). </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00216">216</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a6f5d7f585ea78b8e7bee81bc655de07e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f5d7f585ea78b8e7bee81bc655de07e">&#9670;&nbsp;</a></span>externTesting</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define externTesting</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em></td><td>)</td>
          <td>&#160;&#160;&#160;    GET_EXTERN_TESTING(__VA_ARGS__, EXTERN_TESTING2, EXTERN_TESTING1)(__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an extern reference to a <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing()</a> test case object defined elsewhere. </p>
<p>This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it).</p>
<p>Two versions are supported: <a class="el" href="TestMacros_8h.html#a6f5d7f585ea78b8e7bee81bc655de07e" title="Create an extern reference to a testing() test case object defined elsewhere.">externTesting(name)</a> and externTesting(suiteName, name). </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00155">155</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a00e313531a1972e4ad46c4681b52512a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00e313531a1972e4ad46c4681b52512a">&#9670;&nbsp;</a></span>externTestingF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define externTestingF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">testClass, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>testClass ## _ ## name : <span class="keyword">public</span> testClass {\</div>
<div class="line">public:\</div>
<div class="line">  testClass ## _ ## name();\</div>
<div class="line">  void again() <span class="keyword">override</span>;\</div>
<div class="line">};\</div>
<div class="line">extern testClass ## _ ## name testClass##_##name##_instance</div>
</div><!-- fragment -->
<p>Create an extern reference to a <a class="el" href="TestMacros_8h.html#a648c8cb704b9d942b36d8c4646645c2c" title="Create a test that is derived from a custom TestAgain class.">testingF()</a> test case object defined elsewhere. </p>
<p>This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it). </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00230">230</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a152fb8fe682506b1b08ddda59abce668"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a152fb8fe682506b1b08ddda59abce668">&#9670;&nbsp;</a></span>test</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define test</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em></td><td>)</td>
          <td>&#160;&#160;&#160;    GET_TEST(__VA_ARGS__, TEST2, TEST1)(__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Macro to define a test that will be run only once. </p>
<p>Two versions are supported: <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test(name)</a> and <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test(suiteName, name)</a>. The 2-argument <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test(suiteName, name)</a> is a convenience macro which is identical to <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test(suiteName_name)</a>. </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00053">53</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="ab58e8c02312b2bf4b9422ea4b9e40697"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab58e8c02312b2bf4b9422ea4b9e40697">&#9670;&nbsp;</a></span>TEST1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEST1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>test_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestOnce.html">aunit::TestOnce</a> {\</div>
<div class="line">public:\</div>
<div class="line">  test_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestOnce.html#a064675c6adcce5ddb8562628e573ccc1">once</a>() <span class="keyword">override</span>;\</div>
<div class="line">} test_##name##_instance;\</div>
<div class="line">test_##name :: test_##name() {\</div>
<div class="line">  init(AUNIT_F(#name)); \</div>
<div class="line">}\</div>
<div class="line">void test_##name :: once()</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00058">58</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a9bb86dbcf5960cb0603821c9b1df5559"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bb86dbcf5960cb0603821c9b1df5559">&#9670;&nbsp;</a></span>TEST2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEST2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suiteName, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>suiteName##_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestOnce.html">aunit::TestOnce</a> {\</div>
<div class="line">public:\</div>
<div class="line">  suiteName##_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestOnce.html#a064675c6adcce5ddb8562628e573ccc1">once</a>() <span class="keyword">override</span>;\</div>
<div class="line">} suiteName##_##name##_instance;\</div>
<div class="line">suiteName##_##name :: suiteName##_##name() {\</div>
<div class="line">  init(AUNIT_F(#suiteName <span class="stringliteral">&quot;_&quot;</span> #name)); \</div>
<div class="line">}\</div>
<div class="line">void suiteName##_##name :: once()</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00069">69</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a4f2798c22904efe9442ce65eb6932a9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f2798c22904efe9442ce65eb6932a9c">&#9670;&nbsp;</a></span>testF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define testF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">testClass, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>testClass ## _ ## name : <span class="keyword">public</span> testClass {\</div>
<div class="line">public:\</div>
<div class="line">  testClass ## _ ## name();\</div>
<div class="line">  void once() <span class="keyword">override</span>;\</div>
<div class="line">} testClass ## _ ## name ## _instance;\</div>
<div class="line">testClass ## _ ## name :: testClass ## _ ## name() {\</div>
<div class="line">  init(AUNIT_F(#testClass <span class="stringliteral">&quot;_&quot;</span> #name));\</div>
<div class="line">}\</div>
<div class="line">void testClass ## _ ## name :: once()</div>
</div><!-- fragment -->
<p>Create a test that is derived from a custom TestOnce class. </p>
<p>The name of the instance is prefixed by '{testClass}_' to avoid name collisions with similarly named tests using other fixtures. </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00181">181</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a1f7b0603fa6951be1f019586eafc6e6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7b0603fa6951be1f019586eafc6e6b">&#9670;&nbsp;</a></span>testing</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define testing</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em></td><td>)</td>
          <td>&#160;&#160;&#160;    GET_TESTING(__VA_ARGS__, TESTING2, TESTING1)(__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Macro to define a test that will run repeatly upon each iteration of the global loop() method, stopping when the something calls Test::pass(), Test::fail() or Test::skip(). </p>
<p>Two versions are supported: <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing(name)</a> and <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing(suiteName, name)</a>. The 2-argument <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing(suiteName, name)</a> is a convenience macro which is identical to <a class="el" href="TestMacros_8h.html#a1f7b0603fa6951be1f019586eafc6e6b" title="Macro to define a test that will run repeatly upon each iteration of the global loop() method,...">testing(suiteName_name)</a>. </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00089">89</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="ad936de53e2448868a84165a50099b6f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad936de53e2448868a84165a50099b6f9">&#9670;&nbsp;</a></span>TESTING1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TESTING1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>test_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestAgain.html">aunit::TestAgain</a> {\</div>
<div class="line">public:\</div>
<div class="line">  test_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestAgain.html#abb140ff8224ec77ace6bd379c5ef13a8">again</a>() <span class="keyword">override</span>;\</div>
<div class="line">} test_##name##_instance;\</div>
<div class="line">test_##name :: test_##name() {\</div>
<div class="line">  init(AUNIT_F(#name));\</div>
<div class="line">}\</div>
<div class="line">void test_##name :: again()</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00094">94</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a4a871ed4b51379e87cd14b922d655da4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a871ed4b51379e87cd14b922d655da4">&#9670;&nbsp;</a></span>TESTING2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TESTING2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">suiteName, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>suiteName##_##name : <span class="keyword">public</span> <a class="code" href="classaunit_1_1TestAgain.html">aunit::TestAgain</a> {\</div>
<div class="line">public:\</div>
<div class="line">  suiteName##_##name();\</div>
<div class="line">  void <a class="code" href="classaunit_1_1TestAgain.html#abb140ff8224ec77ace6bd379c5ef13a8">again</a>() <span class="keyword">override</span>;\</div>
<div class="line">} suiteName##_##name##_instance;\</div>
<div class="line">suiteName##_##name :: suiteName##_##name() {\</div>
<div class="line">  init(AUNIT_F(#suiteName <span class="stringliteral">&quot;_&quot;</span> #name));\</div>
<div class="line">}\</div>
<div class="line">void suiteName##_##name :: again()</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00105">105</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
<a id="a648c8cb704b9d942b36d8c4646645c2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a648c8cb704b9d942b36d8c4646645c2c">&#9670;&nbsp;</a></span>testingF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define testingF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">testClass, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">name&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>testClass ## _ ## name : <span class="keyword">public</span> testClass {\</div>
<div class="line">public:\</div>
<div class="line">  testClass ## _ ## name();\</div>
<div class="line">  void again() <span class="keyword">override</span>;\</div>
<div class="line">} testClass ## _ ## name ## _instance;\</div>
<div class="line">testClass ## _ ## name :: testClass ## _ ## name() {\</div>
<div class="line">  init(AUNIT_F(#testClass <span class="stringliteral">&quot;_&quot;</span> #name));\</div>
<div class="line">}\</div>
<div class="line">void testClass ## _ ## name :: again()</div>
</div><!-- fragment -->
<p>Create a test that is derived from a custom TestAgain class. </p>
<p>The name of the instance is prefixed by '{testClass}_' to avoid name collisions with similarly named tests using other fixtures.</p>
<p>Note that <a class="el" href="TestMacros_8h.html#a152fb8fe682506b1b08ddda59abce668" title="Macro to define a test that will be run only once.">test(suiteName, name)</a> is different than <a class="el" href="TestMacros_8h.html#a4f2798c22904efe9442ce65eb6932a9c" title="Create a test that is derived from a custom TestOnce class.">testF(className, name)</a>, but there will be a name collision if suiteName is the same as className. </p>

<p class="definition">Definition at line <a class="el" href="TestMacros_8h_source.html#l00200">200</a> of file <a class="el" href="TestMacros_8h_source.html">TestMacros.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
